package cn.lzb.book.server.service;

import cn.lzb.book.server.entity.dto.BookInfo;
import cn.lzb.book.server.entity.dto.BookPageQuery;
import cn.lzb.book.server.entity.dto.Ids;
import cn.lzb.book.server.entity.dto.SystemUser;
import cn.lzb.book.server.entity.vo.BookDetailVo;
import cn.lzb.book.server.entity.vo.BookPageVo;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @author liuzhibo
 * @date 2024/8/28 16:21
 **/
public interface IBookService {

    BookDetailVo queryDetails(Long id);

    void save(BookInfo bookInfo, SystemUser systemUser);

    void update(BookInfo bookInfo, SystemUser systemUser);

    void deleteByIds(Ids ids, SystemUser systemUser);

    IPage<BookPageVo> queryPage(BookPageQuery bookPageQuery);

}
